package codebush.test.learn.sort;

import java.util.Arrays;

/**
 *Java编程：把American，Japan，China，France，Brazil按英文字母排序。说说思路就行了:)
 *2008-5-19 @author Fution Bai Copyright 2007 
 */

public class StringSort {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String[] arr = {"American","as", "Japan", "China", "France", "Brazil"};
		Arrays.sort(arr);
		for(int i=0; i<arr.length; i++){
			System.out.println(arr[i]);
		}
	}

}


